<!DOCTYPE html>
<html>

<head>
    <title>极验</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body>
    <div id="captcha">
        <p style="padding: 12px;font-size: 20px;text-align: center;">完成验证后继续登录</p>
        <p style="padding: 12px;font-size: 20px;text-align: center;">若完成后长时间不关闭请手动关闭</p>
    </div>
</body>
<script type="text/javascript" src="gt.js"></script>
<script type="text/javascript" src="common.js"></script>
<script>
    window.onload = function () {
        initGeetest({
            gt: getQueryVariable("gee_gt"),
            challenge: getQueryVariable("gee_challenge"),
            offline: false,
            new_captcha: true,
            product: "popup",
            width: "300px",
            https: true
        }, function (captchaObj) {
            captchaObj.appendTo('#captcha');
            captchaObj.onSuccess(function () {
                var result = captchaObj.getValidate();
                window.location.href = `http://geetest.result?recaptcha_token=${getQueryVariable("recaptcha_token")}&geetest_challenge=${result.geetest_challenge}&geetest_validate=${result.geetest_validate}&geetest_seccode=${result.geetest_seccode}`
            });
        });
    }
</script>

</html>